/**
 * @description vuex 封装
 * @description 取值方式介绍 ⬇️
 * @state   ||  ...mapState('模块名', ['方法名']),
 * @actions   this.$store.dispatch('模块名/方法名', 参数1，参数2)  || ...mapActions('模块名', ['方法名1','方法名2']),
 * @mutations  this.$store.commit('模块名/方法名')  ||  ...mapMutations('模块名',['方法名1','方法名2']),
 * 
 */

import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

import getters from './getters'
import user from './modules/user'
import common from './modules/common'

const store = new Vuex.Store({
	modules: {
		user,
		common
	},
	getters

});
export default store;